package com.huishu.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huishu.user.pojo.model.MenuDO;
import com.huishu.user.pojo.vo.MenuVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author generator@ljj
 * @since 2023-04-21
 */
public interface MenuMapper extends BaseMapper<MenuDO> {

    /**
     * 获取菜单
     * @param roleList)
     * @return
     */
    List<MenuVO> getMenuList(@Param("list") List<Long> roleList);
}
